<script type="text/javascript">
    $(document).ready(function() {
        $("#activity_checkAll").click(function() {
            if ($(this).attr("checked") == "checked") {
                $(":checkbox").attr("checked", true);
            } else {
                $(":checkbox").attr("checked", false);
            }
        });

    });
</script> 
<legend><h4><?php
        echo $control->getAjaxLink(array('name' => '功能列表', 'id' => 'showEventList'), array(
            'cooker' => 'BAEvent@showEventList'
        ));
        ?>\
        <?php
        echo $control->getAjaxLink('会员卡管理', array(
            'cooker' => 'BAMemberCard@showUserCardHome'
        ));
        ?>\
        <?php
        echo $control->getAjaxLink('消费记录', array(
            'cooker' => 'BAMemberCard@showCardUserBillList'
        ));
        ?>\        
        <?php
        echo '账单明细'
        ?>\
    </h4></legend>
<fieldset>
    <div>
            <table class="table table-hover">
                <colgroup>
                    <col class="span1">
                    <col class="span7">
                </colgroup>
                <thead>
                    <tr>
                        <th><?php echo '属性'; ?></th>
                        <th><?php echo '内容'; ?></th>
                    </tr>
                </thead>
                <tbody>
                    <tr><td> <?php echo '实体卡号'; ?> </td>
                        <td>
                            <?php
                            echo $fixedCardIdField;
                            ?>
                        </td>
                    </tr>
                    <tr><td> <?php echo '金额（元）'; ?> </td>
                        <td>
                            <?php
                            echo $amountField;
                            ?>
                        </td>
                    </tr>
                    <tr><td> <?php echo '桌号'; ?> </td>
                        <td>
                            <?php
                            echo $seatField;
                            ?>
                        </td>
                    </tr>
                    <tr>
                        <td> <?php echo '实付金额'; ?>  </td>                    
                        <td>
                            <?php
                            echo $payAmount;
                            ?>
                    </tr>
                    <tr><td> <?php echo '买单时间'; ?> </td>
                        <td>
                            <?php
                            echo date('Y/m/d H:i', $billTimeField);
                            ?>
                        </td>
                    </tr>                    
                    <tr><td> <?php echo '用户手机'; ?> </td>
                        <td>
                            <?php
                            echo $mobileField;
                            ?>
                        </td>
                    </tr>     
                    <tr>
                        <td> <?php echo '说明'; ?>  </td>                    
                        <td>
                            <?php
                            echo $descriptionField;
                            ?>
                    </tr>
                </tbody>
            </table>
        </div>
</fieldset>
